package com.huli.service.impl;

import com.huli.dao.PropertyCompanyMapper;
import com.huli.dto.GarageIncomeDto;
import com.huli.dto.PropertyCompanyDto;
import com.huli.param.PropertyCompanyParam;
import com.huli.service.PropertyCompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PropertyCompanyServiceImpl implements PropertyCompanyService {

    @Autowired
    PropertyCompanyMapper propertyCompanyMapper;


    @Override
    public PropertyCompanyDto selectPropertyDayIncomeById(PropertyCompanyParam propertyCompanyParam) {
        return propertyCompanyMapper.selectPropertyDayIncomeById(propertyCompanyParam);
    }

    @Override
    public List<GarageIncomeDto> selectGarageDayIncomeById(PropertyCompanyParam propertyCompanyParam) {
        return propertyCompanyMapper.selectGarageDayIncomeById(propertyCompanyParam);
    }
}
